﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FarmacieDAL
{
    public static class ProducatoriManager
    {
        private static List<Producator> totiProducatorii;

        public static void Initialize(FarmacieEntities entitiesContext)
        {
            totiProducatorii = new List<Producator>();
            totiProducatorii = entitiesContext.Producator.ToList();
        }

        public static List<Producator> TotiProducatorii
        {
            get
            {
                return totiProducatorii;
            }
        }
    }
}
